package com.chinaunicom.structure.proxy.staticproxy;

/**
 * @author liry
 * @version 1.0
 * @date Created on 2022/8/9 9:39
 * Description:代理类
 */
public class ServiceImplProxy implements IService {
    private IService iService;

    public ServiceImplProxy(IService iService) {
        this.iService = iService;
    }


    @Override
    public void execute() {
        this.iService.execute();
    }

    @Override
    public void showMsg() {
        this.iService.showMsg();
    }
}
